package com.liuyuncen.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.neo4j.ogm.annotation.EndNode;
import org.neo4j.ogm.annotation.Id;
import org.neo4j.ogm.annotation.RelationshipEntity;
import org.neo4j.ogm.annotation.StartNode;

/**
 * @Description 基础车型-svo车型关系
 * @Author xhl
 * @Date 2023/7/11 9:53
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@RelationshipEntity(type = "base_svo")
public class BaseSvoRelation {

    @Id
    private Long id;

    @StartNode
    private Eoc startNode;

    @EndNode
    private Svo endNode;
}
